package com.smartcommunity.entity.people;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 体温监测查询
 *
 * @author 渔七
 * @since 2.0.0
 */
@Data
@ApiModel
public class BodyTemperatureSearch {

    @ApiModelProperty(value = "抓拍设备id")
    private String deviceId;

    @ApiModelProperty(value = "小区编号", example = "123456")
    private String villageCode;

    @ApiModelProperty(value = "状态 0正常，1异常")
    private Integer status;

    @ApiModelProperty(value = "起始时间", example = "2020-05-06 00:00:00")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginDate;

    @ApiModelProperty(value = "结束时间", example = "2020-06-06 00:00:00")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    @ApiModelProperty(value = "分页查询页", example = "1")
    private int pageNumber;
    @ApiModelProperty(value = "分页查询数量", example = "10")
    private int pageSize;

}
